package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
	void insert(Permission permission);
	void delete(Long id);
	Permission select(Long id);
	List<Permission> list();

	PageInfo<Permission> query(QueryObject qo);

	void reload();

    List<String> selectByEmployeeId(Long employeeId);
}
